package com.lqian.staticinner;

public class LazyInnerClassSingleton {
    private LazyInnerClassSingleton(){};
    // LazyInnerClassSingleton.class
    // LazyInnerClassSingleton$LazyHolder.class
    private static class LazyHolder{
        private static final LazyInnerClassSingleton LAZY =new LazyInnerClassSingleton();
    }

    public static final LazyInnerClassSingleton getInstance(){
        return LazyHolder.LAZY;
    }
}
